package com.mvp.shq.washer.ui.shop.shopcar;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.CollectResponse;

import java.util.List;

import io.reactivex.Observable;


/**
 * Created by westing on 2017/10/09.
 */

public interface ShopCarConstract {
    interface View extends BaseView{
        void collectProductS();
    }
    interface Model extends BaseModel{
        Observable<BaseResult<String>> collectProduct(String token, String userId, List<CollectResponse> list);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void collectProduct(List<CollectResponse> list);
    }
}
